package com.ruoyi.driver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机账户信息对象 tb_account
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账户ID */
    @Excel(name = "账户ID")
    private Integer id;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Integer driverId;

    /** 账户类型(1-银行卡,2-支付宝,3-微信) */
    @Excel(name = "账户类型(1-银行卡,2-支付宝,3-微信)")
    private Integer accountType;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String accountName;

    /** 账号 */
    @Excel(name = "账号")
    private String accountNumber;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 银行名称(银行卡类型时使用) */
    @Excel(name = "银行名称(银行卡类型时使用)")
    private String bankName;

    /** 支行名称 */
    @Excel(name = "支行名称")
    private String branchName;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private Integer isDefault;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setDriverId(Integer driverId) 
    {
        this.driverId = driverId;
    }

    public Integer getDriverId() 
    {
        return driverId;
    }

    public void setAccountType(Integer accountType) 
    {
        this.accountType = accountType;
    }

    public Integer getAccountType() 
    {
        return accountType;
    }

    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }

    public void setAccountNumber(String accountNumber) 
    {
        this.accountNumber = accountNumber;
    }

    public String getAccountNumber() 
    {
        return accountNumber;
    }

    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }

    public void setBranchName(String branchName) 
    {
        this.branchName = branchName;
    }

    public String getBranchName() 
    {
        return branchName;
    }

    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverId", getDriverId())
            .append("accountType", getAccountType())
            .append("accountName", getAccountName())
            .append("accountNumber", getAccountNumber())
            .append("realName", getRealName())
            .append("idCard", getIdCard())
            .append("bankName", getBankName())
            .append("branchName", getBranchName())
            .append("isDefault", getIsDefault())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
